package com.lxyk.domain;

import com.lxyk.utils.StrDateUtils;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @ClassName StuTest
 * @Description TODO
 * @Author FJQ
 * @Date 2022/4/9 20:41
 * @Version 1.0
 **/
//学生月考
@Data
@NoArgsConstructor
@AllArgsConstructor
public class StuTest {
    private Integer id;
    private Date testDate;   //考试日期
    private String stage;    //考试阶段
    private Integer result;   //考试成绩
    private Integer makeUp;   //补考成绩
    private Integer pass;    //是否及格 0:不及格 1:及格
    private Integer partake; //是否参加考试 0:没参加 1:已参加
    private Integer sid;     //学生id
    private Student student;  //学生对象
    private Integer cid;       //班级id


    public String getTestDate() {
        return StrDateUtils.dateToStr(testDate);
    }
}
